<template>
  <div class="app-container">
    <div>
      <Header-Tab :tab-name="tabName" :tab-list="tabList" @tabChange="tabChange">
        <div slot="first">111</div>
        <div slot="second">222</div>
      </Header-Tab>
    </div>
  </div>
</template>

<script>
import HeaderTab from '@/components/HeaderTab';
export default {
  components: {
    HeaderTab,
  },
  data() {
    return {
      tabName: 'first',
      currentIndex: 0,
      tabList: [
        { label: '任务列表', name: 'first' },
        { label: '创建测试列表', name: 'second' },
      ],
    };
  },
  methods: {
    tabChange(event) {},
  },
};
</script>

<style lang="scss" scoped>
</style>
